/**
 * 公共变量/方法
 */

let Common = {
  // domain: 'http://interface.xiao2yun.com',
  // socketDomain: 'ws://interface.xiao2yun.com:12315',
  domain: 'http://192.168.0.132',
  socketDomain: 'ws://192.168.0.132:12315',
  mobileReg: (reg) => {
    return /^(13[0-9]|15[012356789]|18[0123456789]|17[0123456789]|14[57])[0-9]{8}$/.test(reg);
  }
};

export default Common;
